package com.ruoyi.contract.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * Created by zhangxiang on 2021/10/20.
 */
@Data
@TableName("CON_OPER_LOG")
@KeySequence("SEQ_CON_OPER_LOG")
public class ConOperLog {
    @TableId(value = "CON_OPER_ID",type = IdType.INPUT)
    private Long conOperId;
    @TableField("CON_ID")
    private Long conId;
    @TableField("TITLE")
    private String title;
    @TableField("STATUS")
    private int status;
    @TableField("OPER_IP")
    private String operIp;
    @TableField("OPER_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operTime;
    @TableField("OPER_DETAIL")
    private String operDetail;
    @TableField("OPER_RESULT")
    private String operResult;
    @TableField("OPER_NAME")
    private String operName;

    @TableField(exist = false)
    private String nickName;
}
